{running} `[..]build-script-build[..]`
{running} `rustc [..] --crate-name foo [..]`
{running} `rustc [..] --crate-name foo [..]`
-{running} `[..]foo-[..]`
+{running} `[..]foo-[..][..]`
running 0 tests
execs().with_status(0)
.with_stdout(format!("\
{compiling} foo v0.5.0 (file://[..])
-{running} `target[..]foo`
+{running} `target[..]foo[..]`
", compiling = COMPILING, running = RUNNING).as_slice()));
});
.with_stdout(format!("{} git repository `[..]`\n\
{} dep1 v0.5.0 ([..])\n\
{} foo v0.5.0 ([..])\n\
- {} `target[..]foo`\n\
+ {} `target[..]foo[..]`\n\
project2\
",
UPDATING,
assert_that(project.cargo("run"), execs()
.with_stdout(format!("{compiling} dep1 v0.5.0 ([..])\n\
{compiling} foo v0.5.0 ([..])\n\
- {running} `target[..]foo`\n\
+ {running} `target[..]foo[..]`\n\
project3\
",
compiling = COMPILING, running = RUNNING))
assert_that(p.cargo_process("run"),
execs().with_status(0).with_stdout(format!("\
{compiling} foo v0.0.1 ({dir})
-{running} `target{sep}debug{sep}foo`
+{running} `target{sep}debug{sep}foo[..]`
hello
",
compiling = COMPILING,
{compiling} foo v0.0.1 ({dir})
{running} `rustc src[..]lib.rs [..]`
{running} `rustc src[..]a.rs [..]`
-{running} `target{sep}debug{sep}a`
+{running} `target{sep}debug{sep}a[..]`
hello a.rs
",
compiling = COMPILING,
execs().with_status(0).with_stdout(format!("\
{compiling} foo v0.0.1 ([..])
{running} `rustc src[..]b.rs [..]`
-{running} `target{sep}debug{sep}b`
+{running} `target{sep}debug{sep}b[..]`
hello b.rs
",
running = RUNNING, compiling = COMPILING,
assert_that(p.cargo_process("run").arg("--example").arg("a"),
execs().with_status(0).with_stdout(format!("\
{compiling} foo v0.0.1 ({dir})
-{running} `target{sep}debug{sep}examples{sep}a`
+{running} `target{sep}debug{sep}examples{sep}a[..]`
example
",
compiling = COMPILING,
assert_that(p.cargo_process("run"),
execs().with_status(0).with_stdout(format!("\
{compiling} foo v0.0.1 ({dir})
-{running} `target{sep}debug{sep}main`
+{running} `target{sep}debug{sep}main[..]`
hello main.rs
",
compiling = COMPILING,
-L dependency={dir}{sep}target{sep}release \
-L dependency={dir}{sep}target{sep}release{sep}deps \
--extern bar={dir}{sep}target{sep}release{sep}deps{sep}libbar-[..].rlib`
-{running} `target{sep}release{sep}examples{sep}a`
+{running} `target{sep}release{sep}examples{sep}a[..]`
fast1
fast2
",
-L dependency={dir}{sep}target{sep}debug \
-L dependency={dir}{sep}target{sep}debug{sep}deps \
--extern bar={dir}{sep}target{sep}debug{sep}deps{sep}libbar-[..].rlib`
-{running} `target{sep}debug{sep}examples{sep}a`
+{running} `target{sep}debug{sep}examples{sep}a[..]`
slow1
slow2
",
assert_that(p.cargo_process("run").arg("--release"),
execs().with_status(0).with_stdout(format!("\
{compiling} foo v0.0.1 ({dir})
-{running} `target{sep}release{sep}foo`
+{running} `target{sep}release{sep}foo[..]`
",
compiling = COMPILING,
running = RUNNING,